package monster.com.cvh.bean;

import java.io.Serializable;
import java.util.List;

/**
 * @author: monster
 * @data: 2018/3/29
 * @function: 收藏bean类
 */
public class CollectionBean implements Serializable {

    /**
     * code : 1
     * data : [{"article_id":156,"url":"","title":"邓超等地方环境的合法登记","time":"2018-04-20 13:42:38.264533","comment_count":0,"is_collected":false},{"article_id":155,"url":"","title":"邓超等地方环境的合法登记","time":"2018-04-20 13:42:38.260429","comment_count":0,"is_collected":false},{"article_id":154,"url":"","title":"邓超等地方环境的合法登记","time":"2018-04-20 13:42:38.256512","comment_count":0,"is_collected":false}]
     * msg : ok
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * article_id : 156
         * url :
         * title : 邓超等地方环境的合法登记
         * time : 2018-04-20 13:42:38.264533
         * comment_count : 0
         * is_collected : false
         */

        private int article_id;
        private String url;
        private String title;
        private String time;
        private int comment_count;
        private boolean is_collected;

        public int getArticle_id() {
            return article_id;
        }

        public void setArticle_id(int article_id) {
            this.article_id = article_id;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public int getComment_count() {
            return comment_count;
        }

        public void setComment_count(int comment_count) {
            this.comment_count = comment_count;
        }

        public boolean isIs_collected() {
            return is_collected;
        }

        public void setIs_collected(boolean is_collected) {
            this.is_collected = is_collected;
        }
    }
}
